package com.mgq.generic;

/**
 * @author MaGuangQi
 *
 * @date 2021-12-26 11:11
 **/
public class Animal {
    private String name;

    public Animal(String name) {
        this.name = name;
    }

    public String getName() {

        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Animal{" +
                "name='" + name + '\'' +
                '}';
    }
}
